<?php
/**
 * 最新资料库文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	download
 */
if (is_object($objWebInit)) {
	if(!isset($objdownload)){
		include_once(__WEB_ROOT."/download/class/download.class.php");
		include_once(__WEB_ROOT."/download/config/var.inc.php");
		$objdownload = new download();
		$objdownload->setDBG($arrGPdoDB);
		if(is_object($objWebInit->db)) $objdownload->db = $objWebInit->db;
		else $objdownload->db();
	}

	$arrdownloadList = array();
	$arrdownloadList = $objdownload->getInfoList("where pass=1","  ORDER BY recommendflag DESC,submit_date DESC", 0, 6,'*',null,false);

	 //print_r($arrdownloadList);
	// 输出到模板
	$arrMOutput["smarty_assign"]['arrdownloadList'] = $arrdownloadList;
}
?>